package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 堡垒机账户对象 indsvr_bastion_account
 * 
 * @author indsvr
 * @date 2025-07-17
 */
public class IndsvrBastionAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 账户 */
    @Excel(name = "账户")
    private String username;

    /** 密码 */
    private String password;

    /** SSH */
    @Excel(name = "SSH")
    private Integer typeSsh;

    /** VNC */
    @Excel(name = "VNC")
    private Integer typeVnc;

    /** RDP */
    @Excel(name = "RDP")
    private Integer typeRdp;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }

    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }

    public void setTypeSsh(Integer typeSsh) 
    {
        this.typeSsh = typeSsh;
    }

    public Integer getTypeSsh() 
    {
        return typeSsh;
    }

    public void setTypeVnc(Integer typeVnc) 
    {
        this.typeVnc = typeVnc;
    }

    public Integer getTypeVnc() 
    {
        return typeVnc;
    }

    public void setTypeRdp(Integer typeRdp) 
    {
        this.typeRdp = typeRdp;
    }

    public Integer getTypeRdp() 
    {
        return typeRdp;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("id", getId())
            .append("username", getUsername())
            .append("password", getPassword())
            .append("typeSsh", getTypeSsh())
            .append("typeVnc", getTypeVnc())
            .append("typeRdp", getTypeRdp())
            .toString();
    }
}
